#ifndef LEVELITEM_H
#define LEVELITEM_H

#include "commons.h"
#include "imageitem.h"

class LevelItem : public ImageItem
{
    Q_OBJECT
public:
    explicit LevelItem(const QString &imgName,
                       const QPoint &leftTop,
                       const QPoint &rightBottom,
                       QGraphicsScene *scene = 0,
                       QGraphicsItem *parent = 0);

    void mousePressEvent(QGraphicsSceneMouseEvent *event);
    void mouseReleaseEvent(QGraphicsSceneMouseEvent *event);
    ~LevelItem();

signals:
    void clicked(LevelItem *who);

public slots:

};

#endif // LEVELITEM_H
